import request from '@/common/js/request.js';

//获取医院列表
export const getHospitalList = (data) => {
	return request.post('/api/statistics/hospitals', data);
};

// 获取医生列表
export const getDoctorList = (data) => {
	return request.post('/api/user/doctors', data);
};

//添加习惯和医生关联
export const addHabitDoctor = (data) => {
	return request.post('/api/user/add_habit_doctor_rela', data);
};

//获取习惯和医生关联
export const getHabitDoctor = (data) => {
	return request.post('/api/user/get_habit_doctor_rela', data);
};
